<!DOCTYPE html>
<html lang="en" xml:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>修改员工</title>
</head>
<body>
<form th:action="@{/employee/page/1}" method="post">
  <input type="hidden" name="_method" value="put">
  <input type="hidden" name="empId" th:value="${employee.empId}">
  <table>
    <tr>
      <th colspan="2">修改员工</th>
    </tr>

    <tr>
      <td>lastName</td>
      <td>
        <input type="text" name="empName" th:value="${employee.empName}">
      </td>
    </tr>

    <tr>
      <td>age</td>
      <td>
        <input type="text" name="age" th:value="${employee.age}">
      </td>
    </tr>
    <tr>
      <td>sex</td>
      <td>
        <input type="radio" name="sex" value="男" th:field="${employee.sex}">male
        <input type="radio" name="sex" value="女" th:field="${employee.sex}">female
      </td>
    </tr>
    <tr>
      <td>email</td>
      <td>
        <input type="text" name="email" th:value="${employee.email}">
      </td>
    </tr>

    <tr>
      <td>
        <input type="submit" value="update">
      </td>
    </tr>


  </table>
</form>
</body>
</html>